package com.geovis.emergency.spd.biz.iflytek.service;

import com.alibaba.fastjson.JSONObject;
import com.geovis.emergency.spd.biz.iflytek.model.DrillRecommend;
import com.geovis.emergency.spd.biz.iflytek.model.GraphLink;
import com.geovis.emergency.spd.entity.pc.entity.PcDrill;
import com.geovis.emergency.spd.entity.pc.pojo.vo.*;
import com.geovis.emergency.spd.entity.system.entity.SystemFile;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/8/23
 */
public interface IflytekService {

    /**
     * 上传文件
     *
     * @param systemFile
     */
    String uploadFile(SystemFile systemFile);

    String pushPlan(PcPlanDetailVO pcPlanDetailVO);

    String pushDrill(PcDrill pcDrill);

    List<String> pushPlanDeptList(List<PcPlanDutyDeptVO> dutyDeptList);

    List<PcDrillDisasterEventVO> pushDrillDisasterEvent(List<PcDrillDisasterEventVO> eventList);

    List<PcDrillPlanVO2> pushDrillPlan(List<PcDrillPlanVO2> drillPlanList);
    List<DrillPlanDetailTaskVO> pushDrillPlanTask(List<DrillPlanDetailTaskVO> taskList);
    void pushLink(String planId, List<String> idList, String label);

    void pushLink(List<GraphLink> linkList, String label);

    void updatePcDrill(String drillId, int count, LocalDateTime time);

    List<DrillRecommend> getDrillRecommend(String regionArea, String type);

    JSONObject getGraphData(String pushId);

}